import { View } from '@tarojs/components';
import Card from 'components/CodeCard'
import s from './index.module.scss'
import code from './code.md'

export default function index() {
  return(
    <View>
      <Card
        title='right'
        desc='改变元素的位置， 将right 改为 -100px，会从定位向右移动 100px'
        renderCode={() => (
          <wemark md={code} link highlight type='wemark' />
        )}
      >
        <View className={s.container}>
          <View className={s.box}></View>
        </View>
      </Card>
    </View>
  )
}